package com.wanxi.util;

public class Tool {
    private Tool() {

    }

    public static int strToInt(String value) {
        try {
            return Integer.parseInt(value);
        } catch (Exception e) {
            return -1;
        }
    }
}
